package com.tudouji.project.flow.service;

import java.util.List;
import com.tudouji.project.flow.domain.Flowconditions;

/**
 * 流程条件Service接口
 * 
 * @author tudouji
 * @date 2021-05-06
 */
public interface IFlowconditionsService 
{
    /**
     * 查询流程条件
     * 
     * @param guid 流程条件ID
     * @return 流程条件
     */
    public Flowconditions selectFlowconditionsById(String guid);

    Flowconditions selectFlowConditionsById(Long id);

    /**
     * 查询流程条件列表
     * 
     * @param flowconditions 流程条件
     * @return 流程条件集合
     */
    public List<Flowconditions> selectFlowconditionsList(Flowconditions flowconditions);

    List<Flowconditions> selectFlowConditionsList(Flowconditions flowconditions);
    /**
     * 新增流程条件
     * 
     * @param flowconditions 流程条件
     * @return 结果
     */
    public int insertFlowconditions(Flowconditions flowconditions);

    int insertFlowConditions(Flowconditions flowconditions);

    /**
     * 修改流程条件
     * 
     * @param flowconditions 流程条件
     * @return 结果
     */
    public int updateFlowconditions(Flowconditions flowconditions);

    int updateFlowConditions(Flowconditions flowconditions);

    /**
     * 批量删除流程条件
     * 
     * @param guids 需要删除的流程条件ID
     * @return 结果
     */
    public int deleteFlowconditionsByIds(String[] guids);

    /**
     * 删除流程条件信息
     * 
     * @param guid 流程条件ID
     * @return 结果
     */
    public int deleteFlowconditionsById(String guid);

    int deleteFlowConditionsById(Long id);
}
